import {defineStore} from "pinia"

const useMemeberStore = defineStore({
    id:"member",
    // 状态
    state:()=>({
        token:""
    }),
    // 计算
    getters:{},
    // 方法
    actions:{
        saveTokenAC(token){
            this.token = token
        }
    }
})
export default useMemeberStore;